<script src="js/proinfo/purchase/assetMagerDeploy.js"></script>
<section id="main-content">
    <section class="wrapper">
        <!--state overview end-->
        <div class="row">
            <div class="col-lg-12">
                <section class="panel">
                    <header class="panel-heading">
                        请购信息【资产管理员调配清单（采购清单、资产库申请清单相互转换调配）】
                    </header>
                    <div class="panel-body">
                        <div class="bio-row">
                            <p>
                                <span>项目名称</span>{{headerMap.proName}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>申请人</span>{{headerMap.applyManname}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>申请时间</span>{{headerMap.applyTime}}</p>
                        </div>
                        <div class="bio-row">
                            <p>
                                <span>申请用途</span>{{headerMap.useFul}}</p>
                        </div>
                        <div class="bio-row line-row">
                            <p>申请说明</p>
                            <p>{{headerMap.descriptor}}</p>
                        </div>
                    </div>
                </section>
                <section class="panel">
                    <header class="panel-heading add-heading">
                        采购申请清单
                    </header>
                    <div class="panel-body">
                        <div id="proc3Container" class="dlshouwen-grid-container"></div>
                    </div>
                </section>
                <section class="panel">
                    <header class="panel-heading add-heading">
                        资产库申请清单【资产库资产申请预定】
                    </header>
                    <div class="panel-body">
                        <div id="library3Container" class="dlshouwen-grid-container"></div>
                    </div>
                </section>
                <section class="panel">
                    <div class="panel-heading">
                        审批记录
                    </div>
                    <div class="panel-body">
                        <ul class="tp-ulst">
                            <li>
                                <span>人员姓名      </span><span>修改时间</span><span>处理结果</span>
                            </li>
                            <div ng-repeat="ss in processs">
                                <li>
                                    <span>{{ss.USER}}</span><span>{{ss.time | date:'yyyy-MM-dd hh:mm'}}</span><span>{{getsssbbb(ss.lastStatus)}}，{{ss.msg}}</span>
                                </li>
                            </div>
                        </ul>
                    </div>
                </section>
                <section class="panel">
                    <header class="panel-heading">
                        审批意见
                    </header>
                    <div class="panel-body">
                        <div class="form-group customerForm">
                            
                                <textarea class="form-control"  maxlength="120"  ng-model="submmitData.purchaseStepEntity.opinionMsg"></textarea>
                          
                        </div>
                        
                    </div>
                </section>


                <section class="panel">
                    <div class="panel-body">
                            <p class="default-buttons">
                                    <a href="javascript:void(0);" class="button-back btn btn-info"
                                       onclick="window.history.back()">返回</a>
                                    <a href="javascript:void(0);" class="button-next  btn btn-success btn-l10"
                                        ng-click="approvalApply()">同意</a>
                                    <!-- <a href="javascript:void(0);" class="button-next btn btn-danger ">不通过</a> -->
                                </p>
                    </div>
                </section>
                <!-- Modal -->
                <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
                     aria-hidden="true">
                    <div class="modal-dialog">
                        <div class="modal-content">
                            <section class="panel">
                                <div class="panel-heading add-heading">
                                    资产库信息
                                    <i class="add-icon icon-remove" data-dismiss="modal" aria-hidden="true"></i>
                                </div>
                                <div class="panel-body">
                                    <div class="search-heading">
                                        <span>资产类目:</span>
                                        <select class="form-control" ng-model="select.assetBigClass" ng-disabled="true">
                                            <option ng-repeat="x in select.assetBigClassSelect" value="{{x.code}}" >
                                                {{x.name}}
                                            </option>
                                        </select>
                                        <span>资产类别:</span>
                                        <select class="form-control" ng-model="select.productType"  ng-disabled="true">
                                            <option ng-repeat="x in select.assetClassSelect" value="{{x.styleId}}">
                                                {{x.assetStyle2}}
                                            </option>
                                        </select>
                                        <label class="label label-primary" ng-click="searchProduct()">搜索</label>
                                    </div>
                                    <div id="lidContainer" class="dlshouwen-grid-container"></div>
                                    <div id="lidToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
                                </div>
                                <div class="panel-bg"></div>
                            </section>
                        </div>
                        <!-- /.modal-content -->
                    </div>
                    <!-- /.modal-dialog -->
                </div>
                <!-- /.modal -->
            </div>
        </div>
    </section>
</section>